<!-- BEGIN message -->
<div id="message" class="updated fade"><p>{message}</p></div>
<!-- END message -->
<div class="wrap"> 
    <h2>LightPress Administration</h2>
    <fieldset class="options">
        <legend>Wechseln des Installationstyps</legend>
            
        <!-- BEGIN switch_to_root -->
        <form style="margin: 1.5em 0;" name="form1" method="post" action="admin.php?page=lightpress/wp-plugin/main.php">
            <input type="hidden" name="lp_install" value="switch" />
            <input type="hidden" name="lp_opt_install_type" value="root" />
            <p class="submit" style="text-align: left; margin-bottom: 0.25em;">
                <input style="width: 250px;" type="submit" name="submit" value="Vom Test- zum Komplettmodus wechseln" />
            </p>
        </form>
        <!-- END switch_to_root -->
        <!-- BEGIN switch_to_testing -->
        <form style="margin: 1.5em 0;" name="form1" method="post" action="admin.php?page=lightpress/wp-plugin/main.php">
            <input type="hidden" name="lp_install" value="switch" />
            <input type="hidden" name="lp_opt_install_type" value="testing" />
            <p class="submit" style="text-align: left; margin-bottom: 0.25em;">
                <input style="width: 250px;" type="submit" name="submit" value="Vom Komplett- zum Testmodus wechseln" />
            </p>
            <p style="text-align: left; margin-top: 0.25em;">
                <label for="testing_dir" style="font-weight: normal;">über diesen Unterordner deiner Seite soll LightPress zu Testzwecken erreichbar sein</label>
                <br />
                <input class="{testing_folder_class}" style="width: 250px;" type="text" id="testing_dir" name="lp_opt_testing_dir" value="lightpress" />
            </p>
        </form>
        <!-- END switch_to_testing -->
    </fieldset>
    <fieldset class="options">
        <legend>Kommentarzähler mit WordPress abgleichen</legend>
        <p style="style: italic; text-decoration: underline; margin-top: 0;">Berechnet und synchronisiert den Kommentarzähler für jeden Beitrag.</p>
        <form name="form1" method="post" action="admin.php?page=lightpress/wp-plugin/main.php">
            <input type="hidden" name="lp_install" value="comment_count" />
            <p class="submit" style="text-align: left; margin-top: 0.25em;">
                <input type="submit" name="action" value="Kommentarzähler synchronisieren" />
            </p>
        </form>
    </fieldset>
    <fieldset class="options">
        <legend>Zurücksetzen aller LightPress-Einstellungen</legend>
        <p style="color: #cc0000; style: italic; text-decoration: underline; margin-top: 0;">Alle bisher vorgenommen LightPress-Einstellungen werden aus der Datenbank gel&ouml;scht.</p>
        <form name="form1" method="post" action="admin.php?page=lightpress/wp-plugin/main.php&noheader=1">
            <input type="hidden" name="lp_install" value="reset" />
            <p class="submit" style="text-align: left; margin-top: 0.25em;">
                <input type="submit" name="action" value="Zurücksetzen" />
            </p>
        </form>
    </fieldset>
</form>
</div>
